﻿namespace WMS6.Web.CommonMethodServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DataContract(Name="InitGridviewQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class InitGridviewQueryEntity : BaseQuery
    {
        [OptionalField]
        private string ColumnIndexField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string CssClassField;
        [OptionalField]
        private string DataFieldField;
        [OptionalField]
        private string FooterTextField;
        [OptionalField]
        private string FunctionGroupIDField;
        [OptionalField]
        private string FunctionGroupNameField;
        [OptionalField]
        private string FunctionIDField;
        [OptionalField]
        private string FunctionNameField;
        [OptionalField]
        private string GridviewIDField;
        [OptionalField]
        private string HeaderTextField;
        [OptionalField]
        private string PageSize1Field;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string Udf1Field;
        [OptionalField]
        private string Udf2Field;
        [OptionalField]
        private string Udf3Field;
        [OptionalField]
        private string Udf4Field;
        [OptionalField]
        private string Udf5Field;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WidthField;

        [DataMember]
        public string ColumnIndex
        {
            get
            {
                return this.ColumnIndexField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ColumnIndexField, value))
                {
                    this.ColumnIndexField = value;
                    base.RaisePropertyChanged("ColumnIndex");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string CssClass
        {
            get
            {
                return this.CssClassField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CssClassField, value))
                {
                    this.CssClassField = value;
                    base.RaisePropertyChanged("CssClass");
                }
            }
        }

        [DataMember]
        public string DataField
        {
            get
            {
                return this.DataFieldField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DataFieldField, value))
                {
                    this.DataFieldField = value;
                    base.RaisePropertyChanged("DataField");
                }
            }
        }

        [DataMember]
        public string FooterText
        {
            get
            {
                return this.FooterTextField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FooterTextField, value))
                {
                    this.FooterTextField = value;
                    base.RaisePropertyChanged("FooterText");
                }
            }
        }

        [DataMember]
        public string FunctionGroupID
        {
            get
            {
                return this.FunctionGroupIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FunctionGroupIDField, value))
                {
                    this.FunctionGroupIDField = value;
                    base.RaisePropertyChanged("FunctionGroupID");
                }
            }
        }

        [DataMember]
        public string FunctionGroupName
        {
            get
            {
                return this.FunctionGroupNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FunctionGroupNameField, value))
                {
                    this.FunctionGroupNameField = value;
                    base.RaisePropertyChanged("FunctionGroupName");
                }
            }
        }

        [DataMember]
        public string FunctionID
        {
            get
            {
                return this.FunctionIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FunctionIDField, value))
                {
                    this.FunctionIDField = value;
                    base.RaisePropertyChanged("FunctionID");
                }
            }
        }

        [DataMember]
        public string FunctionName
        {
            get
            {
                return this.FunctionNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FunctionNameField, value))
                {
                    this.FunctionNameField = value;
                    base.RaisePropertyChanged("FunctionName");
                }
            }
        }

        [DataMember]
        public string GridviewID
        {
            get
            {
                return this.GridviewIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.GridviewIDField, value))
                {
                    this.GridviewIDField = value;
                    base.RaisePropertyChanged("GridviewID");
                }
            }
        }

        [DataMember]
        public string HeaderText
        {
            get
            {
                return this.HeaderTextField;
            }
            set
            {
                if (!object.ReferenceEquals(this.HeaderTextField, value))
                {
                    this.HeaderTextField = value;
                    base.RaisePropertyChanged("HeaderText");
                }
            }
        }

        [DataMember(Name="PageSize")]
        public string PageSize1
        {
            get
            {
                return this.PageSize1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.PageSize1Field, value))
                {
                    this.PageSize1Field = value;
                    base.RaisePropertyChanged("PageSize1");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string Udf1
        {
            get
            {
                return this.Udf1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf1Field, value))
                {
                    this.Udf1Field = value;
                    base.RaisePropertyChanged("Udf1");
                }
            }
        }

        [DataMember]
        public string Udf2
        {
            get
            {
                return this.Udf2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf2Field, value))
                {
                    this.Udf2Field = value;
                    base.RaisePropertyChanged("Udf2");
                }
            }
        }

        [DataMember]
        public string Udf3
        {
            get
            {
                return this.Udf3Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf3Field, value))
                {
                    this.Udf3Field = value;
                    base.RaisePropertyChanged("Udf3");
                }
            }
        }

        [DataMember]
        public string Udf4
        {
            get
            {
                return this.Udf4Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf4Field, value))
                {
                    this.Udf4Field = value;
                    base.RaisePropertyChanged("Udf4");
                }
            }
        }

        [DataMember]
        public string Udf5
        {
            get
            {
                return this.Udf5Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf5Field, value))
                {
                    this.Udf5Field = value;
                    base.RaisePropertyChanged("Udf5");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string Width
        {
            get
            {
                return this.WidthField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WidthField, value))
                {
                    this.WidthField = value;
                    base.RaisePropertyChanged("Width");
                }
            }
        }
    }
}

